package ch4.ex8;

import static ch4.print.Print.*;

class Test{
	void callOtherFunc(){
		println("Calling a test func inside of other func.");
		test();
		// don`t do it.
		this.test();
	}
	void test(){
		println("Calling a test func.");
	}
}

public class WithAndWithoutThis {
	public static void main(String[] args){
		Test t = new Test();
		t.callOtherFunc();
	}
}
